import { createRouter, createWebHistory } from 'vue-router'

const router = createRouter({
  history: createWebHistory(import.meta.env.BASE_URL),
  routes: [
    {
      path: '/',
      component: () => import('../views/AddDeng.vue')
    },
    {
      path: '/ShowDeng',
      component: () => import('../views/ShowDeng.vue')
    },
    {
      path: '/VipAdd',
      component: () => import('../Vips/VipAdd.vue')
    },
    {
      path: '/ShowVip',
      component: () => import('../Vips/ShowVip.vue')
    },
    {
      path: '/VipDetail',
      component: () => import('../Vips/VipDetail.vue')
    },
    {
      path: '/Vipupdate',
      component: () => import('../Vips/Vipupdate.vue')
    },
    {
      path: '/VipAll',
      component: () => import('../Vips/VipAll.vue')
    },
    {
      path: '/QAdd',
      component: () => import('../Querys/QAdd.vue')
    },
    {
      path: '/QShow',
      component: () => import('../Querys/QShow.vue')
    },

  ]
})

export default router
